<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: shortimenosee
  Date: 10/12/2020
  Time: 下午3:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table width="800px">
    <tr>
        <td hidden></td>
        <td>缩略图</td>
        <td>名称</td>
        <td>价格</td>
        <td>人数</td>
        <td>操作</td>
    </tr>
    <c:forEach items="${list}" var="item">
        <tr>
            <td hidden></td>
            <td><img src="${item.img}"></td>
            <td>${item.name} - ${item.descrip}</td>
            <td>${item.price}</td>
            <td>${item.personNum}</td>
            <td>
                <a href="">编辑</a>
                <a href="">删除</a>
            </td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
